package com.surfmanager.model.result;
// Generated Aug 10, 2014 1:22:13 PM by Hibernate Tools 3.6.0

public class SurfSessionResult  implements java.io.Serializable,Comparable {


    private Integer sessionId;
    
    private String departDate;
    
    private String retourDate;
    
   private String departPlace;
    
     private String sessionPlace;
    
     private String sessionDuration;
    
    private double sessionProbability;
     
    private int maxParticipants;
    
     private double pricePerParticipant;
     
     private String transport;
     
    private String description;
     
    private String profile;

    public SurfSessionResult() {
    }

    public SurfSessionResult(Integer sessionId, String departDate, String retourDate, String departPlace, String sessionPlace, String sessionDuration, double sessionProbability, int maxParticipants, double pricePerParticipant, String transport, String description, String profile) {
        this.sessionId = sessionId;
        this.departDate = departDate;
        this.retourDate = retourDate;
        this.departPlace = departPlace;
        this.sessionPlace = sessionPlace;
        this.sessionDuration = sessionDuration;
        this.sessionProbability = sessionProbability;
        this.maxParticipants = maxParticipants;
        this.pricePerParticipant = pricePerParticipant;
        this.transport = transport;
        this.description = description;
        this.profile = profile;
    }

    public Integer getSessionId() {
        return sessionId;
    }

    public void setSessionId(Integer sessionId) {
        this.sessionId = sessionId;
    }

    public String getDepartDate() {
        return departDate;
    }

    public void setDepartDate(String departDate) {
        this.departDate = departDate;
    }

    public String getRetourDate() {
        return retourDate;
    }

    public void setRetourDate(String retourDate) {
        this.retourDate = retourDate;
    }

    public String getDepartPlace() {
        return departPlace;
    }

    public void setDepartPlace(String departPlace) {
        this.departPlace = departPlace;
    }

    public String getSessionPlace() {
        return sessionPlace;
    }

    public void setSessionPlace(String sessionPlace) {
        this.sessionPlace = sessionPlace;
    }

    public String getSessionDuration() {
        return sessionDuration;
    }

    public void setSessionDuration(String sessionDuration) {
        this.sessionDuration = sessionDuration;
    }

    public double getSessionProbability() {
        return sessionProbability;
    }

    public void setSessionProbability(double sessionProbability) {
        this.sessionProbability = sessionProbability;
    }

    public int getMaxParticipants() {
        return maxParticipants;
    }

    public void setMaxParticipants(int maxParticipants) {
        this.maxParticipants = maxParticipants;
    }

    public double getPricePerParticipant() {
        return pricePerParticipant;
    }

    public void setPricePerParticipant(double pricePerParticipant) {
        this.pricePerParticipant = pricePerParticipant;
    }

    public String getTransport() {
        return transport;
    }

    public void setTransport(String transport) {
        this.transport = transport;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    @Override
    public String toString() {
        return "SurfSessionResult{" + "sessionId=" + sessionId + ", departDate=" + departDate + ", retourDate=" + retourDate + ", departPlace=" + departPlace + ", sessionPlace=" + sessionPlace + ", sessionDuration=" + sessionDuration + ", sessionProbability=" + sessionProbability + ", maxParticipants=" + maxParticipants + ", pricePerParticipant=" + pricePerParticipant + ", transport=" + transport + ", description=" + description + ", profile=" + profile + '}';
    }

    @Override
    public int compareTo(Object o) {
    return this.getSessionId().compareTo(((SurfSessionResult)o).getSessionId());
        
    }

   



}


